Skip to content

Use context.storageUri for logs and support None level #4071

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 12, 2022

Conversation

andyleejordan
Copy link
Member

Resolves #4067 (and uses the correct location for logs, as reported via Discord, our extension was defaulting to the extension folder which is not where they be stuck).

@ghost ghost added Area-Configuration Issue-Enhancement A feature request (enhancement). labels Jul 11, 2022
@andyleejordan
Copy link
Member Author

@SeeminglyScience PR to andschwa/cwd because I need to await a new async function, and already did the work to support that in #4064.

@@ -51,7 +51,7 @@ export class PowerShellProcess {
: "";

this.startPsesArgs +=
`-LogPath '${PowerShellProcess.escapeSingleQuotes(editorServicesLogPath)}' ` +
`-LogPath '${PowerShellProcess.escapeSingleQuotes(editorServicesLogPath.fsPath)}' ` +
`-SessionDetailsPath '${PowerShellProcess.escapeSingleQuotes(this.sessionFilePath)}' ` +
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might want to move sessionFilePath into context.storageUri too. I also need to check if we spawn an instance per workspace or not.

@andyleejordan
Copy link
Member Author

I gotta fix now erroneous test assumptions, but that's all I think.

Copy link
Collaborator

@SeeminglyScience SeeminglyScience left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@andyleejordan andyleejordan marked this pull request as ready for review July 12, 2022 22:46
@andyleejordan andyleejordan requested a review from a team July 12, 2022 22:46
@andyleejordan andyleejordan merged commit 0da7e92 into andschwa/cwd Jul 12, 2022
@andyleejordan andyleejordan deleted the andschwa/log-path branch July 12, 2022 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Configuration Issue-Enhancement A feature request (enhancement).
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants